home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mntlib44.zoo
/
mntlib
/
MKDIFFS
< prev
next >
Wrap
Text File
|
1993-10-29
|
613b
|
30 lines
#! /bin/sh
if test $# -lt 2
then
echo 'usage: MKDIFFS rel-version fulldistdir file [file2 ...]'
exit 2
fi
relver=$1
fulldist=$2
shift 2
for name in $*
do
fname=`echo $name | sed -e 's;RCS/;;' -e 's;,v$;;'`
if test -f $fulldist/$fname
then
echo "Full distribution of \"$fname\" expected, no patch produced." 1>&2
else
rcsdiff -r$relver.1 -c $fname
if test $? -eq 2
then
diff -c /dev/null $fname
if test $? -eq 2
then
echo "Could not produce a diff for \"$fname\"." 1>&2
echo "Hit [return] to continue." 1>&2
read junk
fi
fi
fi
done